home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / arctic / objects.tcl < prev    next >
Encoding:
Text File  |  2001-12-16  |  6.4 KB  |  176 lines

  1. objcreate {s_model_obj} {:models:arch_snowy} \
  2.     {-filename} {arch_arctic.obj.strip}
  3.  
  4. objcreate {s_model_obj} {:models:overhang_snowy} \
  5.     {-filename} {overhang_snowy_slate.obj.strip}
  6.  
  7. objcreate {s_model_obj} {:models:tree_snowy} \
  8.     {-filename} {tree_snowy.obj.strip} \
  9.     {-backface_culling} {0}
  10.     
  11. objcreate {s_model_obj} {:models:tree_full_snowy} \
  12.     {-filename} {tree_full_snowy.obj.strip} \
  13.     {-backface_culling} {0}
  14.     
  15. objcreate {s_model_obj} {:models:tree_barren_snowy} \
  16.     {-filename} {tree_barren_snowy.obj.strip} \
  17.     {-backface_culling} {0}
  18.     
  19. objcreate {s_model_obj} {:models:tree_bent_snowy} \
  20.     {-filename} {tree_bent_snowy.obj.strip} \
  21.     {-backface_culling} {0}
  22.  
  23. objcreate {s_model_obj} {:models:bridge} \
  24.     {-filename} {bridge.obj.strip}
  25.  
  26. objcreate {s_model_obj} {:models:house_skilodge} \
  27.     {-filename} {house_skilodge.obj.strip}
  28.  
  29. objcreate {s_model_obj} {:models:house_rounded_roof} \
  30.     {-filename} {house_rounded_roof.obj.strip}
  31.  
  32. objcreate {s_model_obj} {:models:arch_arctic_low} \
  33.     {-filename} {arch_arctic_low.obj.strip}
  34.  
  35. # ----- End output of [objserialize :models]
  36.  
  37.  
  38. # ----- Begin output of [objserialize :collidables]
  39.  
  40. objcreate {s_collidable_obj} {:collidables:arch_snowy} \
  41.     {-model} {:models:arch_snowy} \
  42.     {-friction_coeff} {0.3}
  43.  
  44. objcreate {s_collidable_obj} {:collidables:overhang_snowy} \
  45.     {-model} {:models:overhang_snowy} \
  46.     {-friction_coeff} {0.3}
  47.  
  48. objcreate {s_collidable_obj} {:collidables:tree_full_snowy} \
  49.     {-model} {:models:tree_full_snowy} \
  50.     {-friction_coeff} {0.3} \
  51.     {-collide_with_camera} {0}
  52.     
  53. objcreate {s_collidable_obj} {:collidables:tree_barren_snowy} \
  54.     {-model} {:models:tree_barren_snowy} \
  55.     {-collide_with_camera} {0} \
  56.     {-friction_coeff} {0.3}
  57.     
  58. objcreate {s_collidable_obj} {:collidables:tree_bent_snowy} \
  59.     {-model} {:models:tree_bent_snowy} \
  60.     {-collide_with_camera} {0} \
  61.     {-friction_coeff} {0.3}
  62.     
  63. objcreate {s_collidable_obj} {:collidables:tree_snowy} \
  64.     {-model} {:models:tree_snowy} \
  65.     {-collide_with_camera} {0} \
  66.     {-friction_coeff} {0.3}
  67.  
  68. objcreate {s_collidable_obj} {:collidables:bridge} \
  69.     {-model} {:models:bridge} \
  70.     {-friction_coeff} {0.35}
  71.  
  72. objcreate {s_collidable_obj} {:collidables:house_skilodge} \
  73.     {-model} {:models:house_skilodge} \
  74.     {-friction_coeff} {0.3}
  75.  
  76. objcreate {s_collidable_obj} {:collidables:house_rounded_roof} \
  77.     {-model} {:models:house_rounded_roof} \
  78.     {-friction_coeff} {0.3}
  79.  
  80. # ----- End output of [objserialize :collidables]
  81.  
  82.  
  83. # ----- Begin output of [objserialize :objects]
  84.  
  85. objcreate {s_object3d} {:objects:arch_snowy} \
  86.     {-drawable_model} {:models:arch_snowy} \
  87.     {-texture} {:textures:object:snow} \
  88.     -lowres_distance 100.0 \
  89.     -lowres_model :models:arch_arctic_low \
  90.     {-collidable_object} {:collidables:arch_snowy} \
  91.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} \
  92.     {-size_variance} {0.1}
  93.  
  94. objcreate {s_object3d} {:objects:overhang_snowy} \
  95.     {-drawable_model} {:models:overhang_snowy} \
  96.     {-texture} {:textures:object:overhang_snowy_slate} \
  97.     {-collidable_object} {:collidables:overhang_snowy} \
  98.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound}
  99.     
  100. objcreate {s_object3d} {:objects:tree_snowy} \
  101.     {-drawable_model} {:models:tree_snowy} \
  102.     {-texture} {:textures:object:tree_snowy} \
  103.     -lowres_distance 100.0 \
  104.     -lowres_model :models:treebillboardsmall \
  105.     -lowres_texture :textures:object:tree_snowy_low \
  106.     {-collidable_object} {:collidables:tree_snowy} \
  107.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  108.     {-size_variance} {0.1}
  109.  
  110. objcreate {s_object3d} {:objects:tree_barren_snowy} \
  111.     {-drawable_model} {:models:tree_barren_snowy} \
  112.     {-texture} {:textures:object:tree_barren_snowy} \
  113.     {-collidable_object} {:collidables:tree_barren_snowy} \
  114.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  115.     {-size_variance} {0.1}
  116.  
  117. objcreate {s_object3d} {:objects:tree_bent_snowy} \
  118.     {-drawable_model} {:models:tree_bent_snowy} \
  119.     {-texture} {:textures:object:tree_bent_snowy} \
  120.     {-collidable_object} {:collidables:tree_bent_snowy} \
  121.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  122.     {-size_variance} {0.1}
  123.  
  124. objcreate {s_object3d} {:objects:tree_full_snowy} \
  125.     {-drawable_model} {:models:tree_full_snowy} \
  126.     {-texture} {:textures:object:tree_full_snowy} \
  127.     -lowres_distance 100.0 \
  128.     -lowres_model :models:treebillboardsmall \
  129.     -lowres_texture :textures:object:tree_full_snowy_low \
  130.     {-collidable_object} {:collidables:tree_full_snowy} \
  131.     {-collision_response_list} {:collision_responses:physics :collision_responses:tree_hit_sound} \
  132.     {-size_variance} {0.1}
  133.  
  134. objcreate {s_object3d} {:objects:bridge} \
  135.     {-drawable_model} {:models:bridge} \
  136.     {-texture} {:textures:object:bridge} \
  137.     {-collidable_object} {:collidables:bridge} \
  138.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} \
  139.     {-bump_map_decal_texture} {:textures:object:bridge} \
  140.     {-bump_map_texture} {:textures:object:bridgebump} \
  141.     {-bump_mapping_enabled} {1}
  142.  
  143. objcreate {s_object3d} {:objects:house_skilodge} \
  144.     {-drawable_model} {:models:house_skilodge} \
  145.     {-texture} {:textures:object:house_skilodge} \
  146.     {-collidable_object} {:collidables:house_skilodge} \
  147.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} \
  148.     -envmap_alpha 0.6 \
  149.     -envmap_texture :textures:envmap \
  150.     -envmap_alpha_texture :textures:object:house_skilodge_env
  151.  
  152. objcreate {s_object3d} {:objects:house_rounded_roof} \
  153.     {-drawable_model} {:models:house_rounded_roof} \
  154.     {-texture} {:textures:object:house_rounded_roof} \
  155.     {-collidable_object} {:collidables:house_rounded_roof} \
  156.     {-collision_response_list} {:collision_responses:physics :collision_responses:rock_hit_sound} \
  157.     -envmap_alpha 0.6 \
  158.     -envmap_alpha_texture :textures:object:house_rounded_roof_env\
  159.     -envmap_texture :textures:envmap
  160.     
  161.  
  162. # ----- End output of [objserialize :objects]
  163.  
  164. # ----- Begin output of [objserialize :palette]
  165. objcreate {s_object3d_palette} {:palette} \
  166.     {-mappings} {\
  167.     {(255, 128, 255) => :objects:reset} \
  168.     {(200, 200, 200) => :objects:tree_snowy} \
  169.     {(255, 255, 255) => :objects:tree_full_snowy} \
  170.     {(155, 155, 155) => :objects:tree_bent_snowy} \
  171.     {(55, 55, 55) => :objects:tree_barren_snowy} \
  172.     {(194,  40,  40) => :objects:flag} \
  173.     {( 28, 185, 204) => :objects:herring} \
  174.     }
  175. # ----- End output of [objserialize :palette]
  176.